package cn.ds.assets.module.assets.controller.admin.metadataModelTechnology.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import java.time.LocalDate;

@Schema(description = "管理后台 - 元数据管理-元模型-技术属性 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BaseMetadataModelTechnologyRespVO extends BaseMetadataModelTechnologyBaseVO {

    @Schema(description = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private LocalDateTime createTime;

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "27141")
    private Long id;

}
